using System;
using System.Web.UI;
using SouthernLand.Common;

namespace SouthernLand
{
    public partial class LogonRedirect : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.User.IsInRole(Globals.Settings.AppRoles.KhachHang))
                Response.Redirect(Globals.ApplicationPath);
            else if (Page.User.IsInRole(Globals.Settings.AppRoles.Admin))
                Response.Redirect(Globals.ApplicationPath + "WebMaster/Contacts/Contact.aspx");
                        
        }
    }
}